// 主容器
import MainContent from '@/components/common/MainContent'
// 子容器
import IndustryAnalysis from './industry-analysis'
import ItemAnalysis from './item-analysis'
import AggregateAnalysis from './aggregate-analysis'

const router = {
  path: '/chart',
  name: 'Chart',
  component: MainContent,
  children: [
    ...IndustryAnalysis.routers,
    ...ItemAnalysis.routers,
    ...AggregateAnalysis.routers
  ]
}

const menu = [
  IndustryAnalysis.menu,
  ItemAnalysis.menu,
  AggregateAnalysis.menu
]

export default {
  router,
  menu
}
